* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}

.box {
    margin: 0 auto;
    width: 500px;
    height: 240px;
    border: 1px solid #000;
}

.box>.img_box {
    position: relative;
}

.box>.img_box>ul {
    position: relative;
    height: 200px;
    background-image: radial-gradient(rgb(228, 217, 217) 35%, rgb(241, 145, 110));
}

.box>.img_box>ul>li {
    position: absolute;
    width: 400px;
    bottom: 20px;
    transition: 0.3s ease-in-out;
}


/* .box>.img_box>ul>li>.imgActive {} */


/* 设置每一张图片偏移值 */

.box>.img_box>ul>.list01 {
    transform: translateX(0)scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list02 {
    transform: translateX(50px)scale(1);
    z-index: 3;
}

.box>.img_box>ul>.list03 {
    transform: translateX(180px)scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list04 {
    transform: translateX(90px)scale(0.8);
    transform-origin: left center;
}

.box>.img_box>ul>li>a>img {
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid black;
}

.box>.img_box>.l_btn,
.box>.img_box>.r_btn {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 50px;
    transform: translateY(-50%);
    z-index: 999999;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    color: cornsilk;
    cursor: pointer;
    /* 箭头蓝色底纹 */
    user-select: none;
}

.box>.img_box>.l_btn {
    left: 0;
}

.box>.img_box>.r_btn {
    right: 0;
}

.box>.img_box>.l_btn :hover {
    background-color: rgb(165, 160, 158, 0.5);
}

.box>.img_box>.r_btn :hover {
    background-color: rgb(165, 160, 158, 0.5);
}

.box>.dot_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.box>.dot_box>span {
    display: block;
    width: 20px;
    height: 5px;
    background-color: rgb(245, 209, 165);
    ;
    margin: 0 5px;
    cursor: pointer;
}

.box>.dot_box>.dot_active {
    background-color: darkorange;
}